package DBComm;

public class Buddy {
	private String buddy;
	private int status;
	
	public Buddy(){
		this.buddy = "";
		this.status = 0;
	}
	
	public Buddy(String buddyName, int status){
		this.buddy = buddyName;
		this.status = status;
	}

	public String toString()
	{
		return this.buddy + ":" + this.status;
	}
	
	public void setBuddy(String buddyName){
		this.buddy = buddyName;
	}
	
	public String getBuddy(){
		return this.buddy;
	}
	
	public void setStatus(int status){
		this.status = status;
	}
	
	public int getStatus(){
		return this.status;
	}
}
